diff -Naur mitsuba2-4e7628c/ext/CMakeLists.txt mitsuba2-4e7628c.patched/ext/CMakeLists.txt
--- mitsuba2-4e7628c/ext/CMakeLists.txt	2022-03-07 17:07:27.000000000 -0500
+++ mitsuba2-4e7628c.patched/ext/CMakeLists.txt	2022-03-23 00:07:42.901574553 -0400
@@ -223,9 +223,8 @@
 # tinyformat include path
 set(TINYFORMAT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat PARENT_SCOPE)
 
-if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|AMD64")
   # Build asmjit
-  set(ASMJIT_BUILD_X64 TRUE)
+  set(ASMJIT_BUILD_X86 TRUE)
   if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-undefined-inline")
   endif()
@@ -235,7 +234,6 @@
   if (MSVC)
     target_compile_options(asmjit PRIVATE "/wd4804" "/wd4838")
   endif()
-endif()
 
 # Disable annoying MSVC warnings in rgb2spec build
 if (MSVC)
